# https://www.bilibili.com/video/BV1W7411G7wP?p=15&spm_id_from=pageDriver&vd_source=8bd7b24b38e3e12c558d839b352b32f4
# 问题：我现在受理有一笔钱。那么在西雅图有多大概率能买到一个1250尺的房子
import pandas as pd
import matplotlib.pyplot as plt

pd.options.display.max_columns = 777

homeData = pd.read_excel('../resources/input_py_tools/014/home_data.xlsx')
print(homeData)

# https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.plot.kde.html
# Kernel Density Estimate
homeData.sqft_living.plot.kde()
plt.xticks(range(0, max(homeData.sqft_living), 500), fontsize=8, rotation=90)
plt.show()
